package com.example.foods.data;

import com.example.foods.entity.Category;

import java.util.List;

public interface CategoryMapper {
    Category findByCatName(String catName);

    int saveCategory(Category category1);

    List<Category> findAllCategories();

    /**
     * 逻辑删除菜品类别
     * @param catId
     * @return
     */
    int deleteCategories(Integer[] catId);
}
